﻿<!DOCTYPE HTML>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <title>我的简历-伯乐网</title>
    <link href="style/css/style.css" type="text/css" rel="stylesheet">
    <link href="style/css/external.min.css" type="text/css" rel="stylesheet">
    <link href="style/css/popup.css" type="text/css" rel="stylesheet">
    <script type="text/javascript" src="style/js/jquery.1.10.1.min.js"></script>
    <script src="style/js/jquery.lib.min.js" type="text/javascript"></script>
    <script type="text/javascript" src="style/js/ajaxfileupload.js"></script>
    <script src="style/js/additional-methods.js" type="text/javascript"></script>
    <!--layer.js-->
    <script type="text/javascript" src="style/js/layer/layer.js"></script>
    <!--自带内部样式-->
</head>

<body>
<!--隐藏域存用户ID-->
<input type="hidden" id="userId" th:value="${session.user.id}">
<!--隐藏域存放简历ID-->
<input type="hidden" id="id" th:if="${session.jianli != null}" th:value="${session.jianli.id}">
<input type="hidden" id="id" th:if="${session.jianli == null}" value="">
<div id="body">
    <!--引入顶部导航栏-->
    <div id="header" th:fragment="common_top_nav">
        <div class="wrapper">
            <a href="/index" class="logo">
                <img src="style/images/logo.png" width="229" height="43" alt="伯乐网-专注互联网招聘"/>
            </a>
            <ul class="reset" id="navheader">
                <li >
                    <a href="/index">首页</a>
                </li>
                <li>
                    <a href="/companyList?page=1&size=9&companyName=&city=全国&stage=&field=" style="margin-left: 50px">搜索公司</a>
                </li>
                <li class="current">
                    <a th:href="'/jianli?userId='+${session.user.id}" rel="nofollow" style="margin-left: 50px">我的简历</a>
                </li>
            </ul>
            <!--未登陆显示登陆注册-->
            <ul class="loginTop" th:if="${session.user}==null">
                <li>
                    <a href="/loginPage" rel="nofollow">登录</a>
                </li>
                <li>|</li>
                <li>
                    <a href="/registerPage" rel="nofollow">注册</a>
                </li>
            </ul>
            <!--已经登陆显示下拉列表-->
            <dl class="collapsible_menu" th:if="${session.user}!=null">
                <dt>
                    <span th:text="${session.user.phone}">路人甲</span>
                    <span class="red dn" id="noticeDot-0"></span>
                    <i></i>
                </dt>
                <dd>
                    <a rel="nofollow" th:href="'/jianli?userId='+${session.user.id}">我的简历</a>
                </dd>
                <dd>
                    <a th:href="'/selectCollections?userId='+${session.user.id}">我收藏的职位</a>
                </dd>
                <dd>
                    <a th:href="'/myToudi?userId='+${session.user.id}">我投递的职位 <span id="noticeNo" class="red dn">(0)</span></a>
                </dd>
                <dd>
                    <a href="/setting">帐号设置</a>
                </dd>
                <dd class="logout">
                    <a rel="nofollow" href="/logout">退出</a>
                </dd>
            </dl>

        </div>
    </div>
    <!--顶部导航栏 end-->

    <div id="container">

        <div class="clearfix">
            <div class="content_l">
				<!--简历预览-->
                <div class="fl" id="resume_name">
                    <div class="nameShow fl">
                        <h1 title="jason的简历">我的简历</h1>
                        <a id="yulan" href="javascript:void(0)">预览</a>
                    </div>
                    <script>
                        //点击预览简历
                        $("#yulan").click(function () {
                           //获取简历ID
                           var resumeId=$("#id").val();
                           if(resumeId==null || resumeId==""){
                               layer.alert("请先创建自己的简历！",{icon:2});
                               return false;
                           }
                           //发送请求，预览简历
                            window.open("/previewResume?resumeId="+resumeId);
                        });
                    </script>
                </div>
                <!--简历预览 end-->

				<!--基本信息-->
                <div class="profile_box" id="basicInfo">
                    <!--隐藏域存放简历信息-->
                    <!--<input type="hidden" id="nameVal" th:if="${session.jianli != null}" th:value="${session.jianli.name}">
                    <input type="hidden" id="genderVal" th:if="${session.jianli != null}" th:value="${session.jianli.sex}">
                    <input type="hidden" id="topDegreeVal" th:if="${session.jianli != null}" th:value="${session.jianli.maxEducation}">
                    <input type="hidden" id="workyearVal" th:if="${session.jianli != null}" th:value="${session.jianli.schoolSystem}">
                    <input type="hidden" id="telVal" th:if="${session.jianli != null}" th:value="${session.jianli.phone}">
                    <input type="hidden" id="emailVal" th:if="${session.jianli != null}" th:value="${session.jianli.email}">
                    <input type="hidden" id="currentStateVal" th:if="${session.jianli != null}" th:value="${session.jianli.nowState}">
                    <input type="hidden" id="pageType" value="1">-->
                    <h2>基本信息</h2>
                    <!--已经填写基本信息则展示-->
                    <div id="showUserInfo" th:if="${session.jianli != null && session.jianli.name !=null}" class="basicShow">
								<span>[[${session.jianli.name}]] |  [[${session.jianli.sex}]] |    [[${session.jianli.maxEducation}]] |  [[${session.jianli.schoolSystem}]]<br>
            			            			[[${session.jianli.phone}]] | [[${session.jianli.email}]]<br>
            			</span>
                        <div class="m_portrait">
                            <div></div>
                            <img width="120" height="120" th:src="'userPhoto/'+${session.jianli.photo}">
                        </div>
                    </div>
                    <!--提示完善基本信息-->
                    <div id="addUserInfo" th:if="${session.jianli == null || session.jianli.name ==null}" class="expectAdd pAdd">
                        先让公司了解你才能有机会加入他们，<br> 快来完善个人基本信息吧！
                        <span>完善基本信息</span>
                        <script>
                            $("#addUserInfo").click(function () {

                                });
                        </script>
                    </div>
                    <!--基本信息展示showUserInfo end-->

                    <!--基本信息修改-->
                    <div id="editUserInfo" class="basicEdit dn">
                        <div id="profileForm" style="width: 630px;height: 400px;">
                            <table>
                                <tbody>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="姓名" name="" id="name"
                                               th:if="${session.jianli!=null && session.jianli.name!=null}"
                                               th:value="${session.jianli.name}" >
                                        <input type="text" placeholder="姓名" name="" id="name"
                                               th:if="${session.jianli==null || session.jianli.name==null}"
                                               value="" >
                                    </td>
                                    <td valign="top"></td>
                                    <td>
                                        <input type="hidden" id="hiddenSex" value="男" th:if="${session.jianli!=null && session.jianli.sex=='男'}">
                                        <input type="hidden" id="hiddenSex" value="女" th:if="${session.jianli!=null && session.jianli.sex=='女'}">
                                        <input type="hidden" id="hiddenSex" value="男" th:if="${session.jianli==null || session.jianli.sex==null}">
                                        <script>
                                            //加载完成选择哪一个
                                            $(function () {
                                                var a=$("#hiddenSex").val();
                                                if(a=='男'){$("#nan").addClass("current");}
                                                if(a=='女'){$("#nv").addClass("current");}
                                            });
                                        </script>
                                        <ul class="profile_radio clearfix reset">
                                            <li id="nan">
                                                男<em></em>
                                                <input type="radio" name="gender" value="男">
                                            </li>
                                            <li id="nv">
                                                女<em></em>
                                                <input type="radio" name="gender" value="女">
                                            </li>
                                        </ul>
                                        <script>
                                            //选择男
                                            $("#nan").click(function () {
                                                $("#nan").removeClass("current");
                                                $("#nv").removeClass("current");

                                                $("#nan").addClass("current");
                                                $("#hiddenSex").val("男");
                                            });
                                            //选择女
                                            $("#nv").click(function () {
                                                $("#nan").removeClass("current");
                                                $("#nv").removeClass("current");

                                                $("#nv").addClass("current");
                                                $("#hiddenSex").val("女");
                                            });
                                        </script>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="hidden" id="topDegree" th:if="${session.jianli!=null && session.jianli.maxEducation!=null}" th:value="${session.jianli.maxEducation}" name="topDegree">
                                        <input type="hidden" id="topDegree" th:if="${session.jianli==null || session.jianli.maxEducation==null}" value="" name="topDegree">
                                        <input type="button" th:if="${session.jianli!=null && session.jianli.maxEducation!=null}"
                                               id="select_topDegree" th:value="${session.jianli.maxEducation}"
                                               class="profile_select_190 profile_select_normal">
                                        <input type="button" th:if="${session.jianli==null || session.jianli.maxEducation==null}"
                                               id="select_topDegree" value="请选择学历"
                                               class="profile_select_190 profile_select_normal">
                                        <div class="boxUpDown boxUpDown_190 dn" id="box_topDegree"
                                             style="display: none;">
                                            <ul>
                                                <li>大专</li>
                                                <li>本科</li>
                                                <li>硕士</li>
                                                <li>博士</li>
                                                <li>其他</li>
                                            </ul>
                                        </div>
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="hidden" id="workyear" th:if="${session.jianli!=null && session.jianli.schoolSystem!=null}" th:value="${session.jianli.schoolSystem}" name="workyear">
                                        <input type="hidden" id="workyear" th:if="${session.jianli==null || session.jianli.schoolSystem==null}" value="" name="workyear">
                                        <input type="button" id="select_workyear" th:value="${session.jianli.schoolSystem}"
                                               th:if="${session.jianli!=null && session.jianli.schoolSystem!=null}"
                                               class="profile_select_190 profile_select_normal">
                                        <input type="button" id="select_workyear" value="请选择工作经验"
                                               th:if="${session.jianli==null || session.jianli.schoolSystem==null}"
                                               class="profile_select_190 profile_select_normal">
                                        <div class="boxUpDown boxUpDown_190 dn" id="box_workyear"
                                             style="display: none;">
                                            <ul>
                                                <li>应届毕业生</li>
                                                <li>1年以下工作经验</li>
                                                <li>1～3年工作经验</li>
                                                <li>3～5年工作经验</li>
                                                <li>5～10年工作经验</li>
                                                <li>10年以上工作经验</li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td colspan="3">
                                        <input type="text" name="" id="tel" placeholder="手机号码"
                                               th:if="${session.jianli!=null && session.jianli.phone!=null}"
                                               th:value="${session.jianli.phone}" style="width: 380px;">
                                        <input type="text" name="" id="tel" placeholder="手机号码"
                                               th:if="${session.jianli==null || session.jianli.phone==null}"
                                               value="" style="width: 380px;" >
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td colspan="3">
                                        <input type="text" id="email" name=""  placeholder="接收面试通知的邮箱"
                                               th:if="${session.jianli!=null && session.jianli.email!=null}"
                                               th:value="${session.jianli.email}" style="width: 380px;">
                                        <input type="text" id="email" name=""  placeholder="接收面试通知的邮箱"
                                               th:if="${session.jianli==null || session.jianli.email==null}"
                                               value="" style="width: 380px;">

                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top"></td>
                                    <td colspan="3">
                                        <input type="hidden" id="currentState" th:if="${session.jianli!=null && session.jianli.nowState!=null}" th:value="${session.jianli.nowState}" name="currentState">
                                        <input type="hidden" id="currentState" th:if="${session.jianli==null || session.jianli.nowState==null}" value="" name="currentState">
                                        <input type="button" id="select_currentState" class="profile_select_410 profile_select_normal"
                                               th:if="${session.jianli!=null && session.jianli.nowState!=null}"
                                               th:value="${session.jianli.nowState}">
                                        <input type="button" id="select_currentState" class="profile_select_410 profile_select_normal"
                                               th:if="${session.jianli==null || session.jianli.nowState==null}"
                                               value="目前状态">

                                        <div class="boxUpDown boxUpDown_410 dn" id="box_currentState"
                                             style="display: none;">
                                            <ul>
                                                <li>我目前已离职，可快速到岗</li>
                                                <li>我目前正在职，正考虑换个新环境</li>
                                                <li>我暂时不想找工作</li>
                                                <li>我是应届毕业生</li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td colspan="3">
                                        <input type="button" id="bc_UserInfo" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="sc_UserInfo" href="javascript:;" th:if="${session.jianli!=null}">删 除</a>
                                        <a class="btn_profile_cancel" id="qx_UserInfo" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <!--头像-->
                            <form method="post" action="/saveResumeUserInfo" enctype="multipart/form-data">
                                <input type="hidden" id="resumeId" name="resumeId" th:if="${session.jianli!=null}" th:value="${session.jianli.id}">
                                <input type="hidden" id="resumeId" name="resumeId" th:if="${session.jianli==null}" value="">
                                <input type="hidden" id="userIdval" name="userIdval" value="">
                                <input type="hidden" id="nameval" name="nameval" value="">
                                <input type="hidden" id="sexval" name="sexval" value="">
                                <input type="hidden" id="maxEducationval" name="maxEducationval" value="">
                                <input type="hidden" id="schoolSystemval" name="schoolSystemval" value="">
                                <input type="hidden" id="phoneval" name="phoneval" value="">
                                <input type="hidden" id="emailval" name="emailval" value="">
                                <input type="hidden" id="nowStateval" name="nowStateval" value="">

                                <div class="new_portrait" style="position: relative;right: -430px;bottom: 370px;">
<!--                                    <input id="btn_file" type="file" name="userPhoto" class="inputPic"-->
<!--                                           allowexts="gif,jpeg,jpg,png,bmp" accept="image/*"-->
<!--                                           th:if="${session.jianli!=null && session.jianli.photo!=null}"-->
<!--                                           th:value="${session.jianli.photo}">-->
                                    <input id="btn_file" type="file" name="userPhoto" class="inputPic"
                                           allowexts="gif,jpeg,jpg,png,bmp" accept="image/*"
                                           th:if="${session.jianli==null || session.jianli.photo==null}"
                                           value="">
                                    <img id="select_btn" th:if="${session.jianli==null || session.jianli.photo==null}" style="width:120px;height: 120px"
                                         src="style/images/upload_UserPhoto.png"/>
                                    <img id="select_btn" th:if="${session.jianli!=null && session.jianli.photo!=null}" style="width:120px;height: 120px"
                                         th:src="'userPhoto/'+${session.jianli.photo}"/>
                                    <script type="text/javascript">
                                        //头像效果预览
                                        $(function () {
                                            $('#select_btn').click(function () {
                                                $('#btn_file').click();
                                            })
                                            $('#btn_file').change(function (event) {
                                                var file = event.currentTarget.files[0];

                                                var reader = new FileReader();

                                                reader.onload = function (e) {
                                                    document.getElementById('select_btn').src = e.target.result;
                                                }
                                                reader.readAsDataURL(file);
                                            })
                                        })
                                    </script>
                                </div>
                                <input type="submit" id="hiddenSubmit_UserInfo" hidden>
                            </form>
                        </div>
                    </div>
                    <!--基本信息修改 end-->
                    <script>
                        //点击完善基本信息
                        $("#addUserInfo").click(function () {
                            $("#showUserInfo").attr("style","display:none");
                            $("#addUserInfo").attr("style","display:none");
                            $("#editUserInfo").attr("style","display:block");
                        });
                        //完善页面点击取消，回到展示页面
                        $("#qx_UserInfo").click(function () {
                            //点击取消按钮，显示展示框
                            $("#editUserInfo").attr("style","display:none");
                            $("#showUserInfo").attr("style","display:block");
                            $("#addUserInfo").attr("style","display:block");
                        });
                        //点击保存按钮
                        $("#bc_UserInfo").click(function () {
                            //获取当前用户ID
                            var userId=$("#userId").val().trim();
                            //获取姓名
                            var name=$("#name").val().trim();
                            //获取性别
                            var sex=$("#hiddenSex").val().trim();
                            //获取学历
                            var maxEducation=$("#topDegree").val().trim();
                            //获取工作经验
                            var schoolSystem=$("#workyear").val().trim();
                            //获取号码
                            var phone=$("#tel").val().trim();
                            //获取邮箱
                            var email=$("#email").val().trim();
                            //获取目前状态
                            var nowState=$("#currentState").val().trim();
                            //获取公司logo
                            var companyLogo=$("#select_btn").attr("src");

                            // console.log("当前登陆用户ID："+userId);
                            // console.log("姓名："+name);
                            // console.log("性别："+sex);
                            // console.log("学历："+maxEducation);
                            // console.log("工作经验："+schoolSystem);
                            // console.log("号码："+phone);
                            // console.log("邮箱："+email);
                            // console.log("目前状态："+nowState);
                            //数据校验
                            if(name==""||name==null){layer.msg("请输入真实姓名"); return false;}
                            if(sex==""||sex==null){layer.msg("请选择性别");return false;}
                            if(companyLogo=="style/images/upload_UserPhoto.png"){layer.msg("请上传头像！");return false;}
                            if(maxEducation==""||maxEducation==null){layer.msg("请选择学历");return false;}
                            if(schoolSystem==""||schoolSystem==null){layer.msg("请选择工作经验");return false;}
                            if(phone==""||phone==null){layer.msg("请选择手机号码");return false;}
                            if (!(/^1[3456789]\d{9}$/.test(phone))) {layer.msg("手机号有误!");return false;}
                            if(email==""||email==null){layer.msg("请选择邮箱");return false;}
                            var reg = /^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/;
                            if(!reg.test(email)){layer.msg("请输入正确的邮箱");return false;}
                            if(nowState==""||nowState==null){layer.msg("请选择目前状态");return false;}
                            //成功，发送请求
                            //alert("!!!!!");
                            $("#userIdval").val(userId);
                            $("#nameval").val(name);
                            $("#sexval").val(sex);
                            $("#maxEducationval").val(maxEducation);
                            $("#schoolSystemval").val(schoolSystem);
                            $("#phoneval").val(phone);
                            $("#emailval").val(email);
                            $("#nowStateval").val(nowState);
                            $("#hiddenSubmit_UserInfo").click();
                        });
                        //展示页面点击修改
                        $("#showUserInfo").click(function () {
                            $("#showUserInfo").attr("style","display:none");
                            $("#addUserInfo").attr("style","display:none");
                            $("#editUserInfo").attr("style","display:block");
                        });
                        //点击删除按钮
                        $("#sc_UserInfo").click(function () {
                            layer.confirm("基本信息清空后，整个简历将被清空，是否确定？", {icon: 3, title: '提示'}, function (index) {
                                //获取当前用户ID
                                var userId = $("#userId").val().trim();
                                //发送请求
                                location.href = "delResume?userId=" + userId;
                                layer.close(index);
                            });
                        });
                    </script>
                </div>
                <!--基本信息 end-->

				<!--期望工作-->
                <div class="profile_box" id="expectJob">
                    <h2>期望工作</h2>
                    <!--期望工作 展示框-->
                    <div class="showHopeJob " id="showHopeJob" th:if="${session.jianli!=null && session.jianli.hopeWorkplace!=null}" style="padding-left: 20px;font-size: 16px;">
                        <span>[[${session.jianli.hopeWorkplace}]] |  [[${session.jianli.jobType}]] |    [[${session.jianli.hopePosition}]]<br>
                              期望月薪：[[${session.jianli.hopeSalary}]]<br>
            			</span>
                    </div>
                    <!--期望工作 展示框end-->

                    <!--期望工作 修改框-->
                    <div id="editHopeJob" class="expectEdit dn">
                        <div id="expectForm">
                            <table>
                                <tbody>
                                <tr>
                                    <td>
                                        <input type="text" placeholder="期望工作城市，如：北京" name="hopeWorkplace"
                                               id="hopeWorkplace" th:if="${session.jianli!=null && session.jianli.hopeWorkplace!=null}"
                                               th:value="${session.jianli.hopeWorkplace}">
                                        <input type="text" placeholder="期望工作城市，如：北京" name="hopeWorkplace"
                                               id="hopeWorkplace" th:if="${session.jianli==null || session.jianli.hopeWorkplace==null}"
                                               value="">
                                    </td>
                                    <td>
                                        <ul class="profile_radio clearfix reset">
                                            <input type="hidden" id="hidden_JobType" th:if="${session.jianli==null || session.jianli.jobType==null}" value="全职">
                                            <input type="hidden" id="hidden_JobType" th:if="${session.jianli!=null && session.jianli.jobType!=null}" th:value="${session.jianli.jobType}">
                                            <li id="quanzhi" >
                                                全职<em></em>
                                                <input type="radio" checked="" name="type" value="全职">
                                            </li>
                                            <li id="jianzhi">
                                                兼职<em></em>
                                                <input type="radio" name="type" value="兼职">
                                            </li>
                                            <li id="shixi">
                                                实习<em></em>
                                                <input type="radio" name="type" value="实习">
                                            </li>
                                            <script>
                                                //初始选中状态
                                                $(function () {
                                                    var hiddenJobType=$("#hidden_JobType").val().trim();
                                                    if(hiddenJobType=="全职"){$("#quanzhi").addClass("current")}
                                                    if(hiddenJobType=="兼职"){$("#jianzhi").addClass("current")}
                                                    if(hiddenJobType=="实习"){$("#shixi").addClass("current")}
                                                });
                                                //选择全职
                                                $("#quanzhi").click(function () {
                                                    $("#quanzhi").removeClass("current");
                                                    $("#jianzhi").removeClass("current");
                                                    $("#shixi").removeClass("current");
                                                    $("#quanzhi").addClass("current");
                                                    $("#hidden_JobType").val("全职");
                                                });
                                                //选择兼职
                                                $("#jianzhi").click(function () {
                                                    $("#quanzhi").removeClass("current");
                                                    $("#jianzhi").removeClass("current");
                                                    $("#shixi").removeClass("current");
                                                    $("#jianzhi").addClass("current");
                                                    $("#hidden_JobType").val("兼职");
                                                });
                                                //选择实习
                                                $("#shixi").click(function () {
                                                    $("#quanzhi").removeClass("current");
                                                    $("#jianzhi").removeClass("current");
                                                    $("#shixi").removeClass("current");
                                                    $("#shixi").addClass("current");
                                                    $("#hidden_JobType").val("实习");
                                                });
                                            </script>
                                        </ul>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <input type="text" placeholder="期望职位，如：产品经理" name="hopePosition"
                                               id="hopePosition" th:if="${session.jianli!=null && session.jianli.hopePosition!=null}"
                                               th:value="${session.jianli.hopePosition}">
                                        <input type="text" placeholder="期望职位，如：产品经理" name="hopePosition"
                                               id="hopePosition" th:if="${session.jianli==null || session.jianli.hopePosition==null}"
                                               value="">
                                    </td>
                                    <td>
                                        <input type="hidden" id="expectSalary" th:if="${session.jianli==null || session.jianli.hopeSalary==null}" value="" name="expectSalary">
                                        <input type="hidden" id="expectSalary" th:if="${session.jianli!=null && session.jianli.hopeSalary!=null}" th:value="${session.jianli.hopeSalary}" name="expectSalary">
                                        <input type="button"  id="select_expectSalary" class="profile_select_287 profile_select_normal"
                                               th:if="${session.jianli!=null && session.jianli.hopeSalary!=null}"
                                               th:value="${session.jianli.hopeSalary}">
                                        <input type="button"  id="select_expectSalary" class="profile_select_287 profile_select_normal"
                                               th:if="${session.jianli==null || session.jianli.hopeSalary==null}"
                                               value="期望月薪">

                                        <div class="boxUpDown boxUpDown_287 dn" id="box_expectSalary"
                                             style="display: none;">
                                            <ul>
                                                <li>2k以下</li>
                                                <li>2k-5k</li>
                                                <li>5k-10k</li>
                                                <li>10k-15k</li>
                                                <li>15k-25k</li>
                                                <li>25k-50k</li>
                                                <li>50k以上</li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <input type="button" id="bc_hopeJob" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="qx_HopeJob" href="javascript:void(0);">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <!--期望工作 修改框end-->

                    <!--提示添加期望工作-->
                    <div id="addHopeJob" class="expectAdd pAdd" th:if="${session.jianli==null || session.jianli.hopeWorkplace==null}">
                        填写准确的期望工作能大大提高求职成功率哦…<br> 快来添加期望工作吧！
                        <span>添加期望工作</span>
                    </div>
                    <!--提示添加期望工作 end-->
                    <script>
                        //点击 添加期望工作
                        $("#addHopeJob").click(function () {
                            $("#showHopeJob").attr("style","display:none");
                            $("#addHopeJob").attr("style","display:none");
                            $("#editHopeJob").attr("style","display:block");
                        });
                        //点击取消
                        $("#qx_HopeJob").click(function () {
                            $("#editHopeJob").attr("style","display:none");
                            $("#showHopeJob").attr("style","display:block");
                            $("#addHopeJob").attr("style","display:block");
                        });
                        //点击保存按钮
                        $("#bc_hopeJob").click(function () {
                            //获取简历ID
                            var resumeId=$("#resumeId").val().trim();
                            if(resumeId==""||resumeId==null){
                                layer.alert("请先完善个人基本信息！",{icon:4});
                                return false;
                            }
                            //获取当前登陆人ID
                            var userId=$("#userId").val().trim();
                            //获取期望工作城市
                            var hopeWorkplace=$("#hopeWorkplace").val().trim();
                            //获取工作性质
                            var jobType=$("#hidden_JobType").val().trim();
                            //获取期望职位
                            var hopePosition=$("#hopePosition").val().trim();
                            //获期望薪资
                            var hopeSalary=$("#expectSalary").val().trim();

                            // console.log("userId:"+userId);
                            // console.log("hopeWorkplace:"+hopeWorkplace);
                            // console.log("jobType:"+jobType);
                            // console.log("hopePosition:"+hopePosition);
                            // console.log("hopeSalary:"+hopeSalary);

                            if(hopeWorkplace==""||hopeWorkplace==null){layer.msg("请输期望工作城市");return false;}
                            if(jobType==""||jobType==null){layer.msg("请选择工作性质");return false;}
                            if(hopePosition==""||hopePosition==null){layer.msg("请输入期望职位");return false;}
                            if(hopeSalary==""||hopeSalary==null){layer.msg("请输入期望薪资");return false;}

                            //数据校验通过，发送请求
                            location.href="saveHopeJob?resumeId="+resumeId+"&userId="+userId+"&hopeWorkplace="+hopeWorkplace+"&jobType="+jobType+"&hopePosition="+hopePosition+"&hopeSalary="+hopeSalary
                            // $.ajax({
                            //     type: "post",
                            //     url: "/saveHopeJob",
                            //     data:{
                            //         resumeId:resumeId,
                            //         userId:userId,
                            //         hopeWorkplace:hopeWorkplace,
                            //         jobType:jobType,
                            //         hopePosition:hopePosition,
                            //         hopeSalary:hopeSalary
                            //     }
                            //     success: function () {
                            //         $("#qx_HopeJob").click();
                            //     }
                            // });
                        });
                        //点击展示框，编辑内容
                        $("#showHopeJob").click(function () {
                            $("#editHopeJob").attr("style","display:block");
                            $("#showHopeJob").attr("style","display:none");
                            $("#addHopeJob").attr("style","display:none");
                        });
                    </script>
                </div>
                <!--期望工作 end-->

				<!--工作经历-->
                <div class="profile_box" id="workExperience">
                    <h2>工作经历 <span></span></h2>
                    <!--展示框-->
                    <!--<div class="experienceShow dn">
                        <form class="experienceForm borderBtm ">
                            <table>
                                <tbody>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar">*</span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="公司名称" name="companyName" class="companyName">
                                    </td>
                                    <td valign="top">
                                        <span class="redstar">*</span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="职位名称，如：产品经理" name="positionName"
                                               class="positionName">
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar">*</span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="companyYearStart" value=""
                                                   name="companyYearStart">
                                            <input type="button" value="开始年份"
                                                   class="profile_select_139 profile_select_normal select_companyYearStart">
                                            <div class="box_companyYearStart boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="companyMonthStart" value=""
                                                   name="companyMonthStart">
                                            <input type="button" value="开始月份"
                                                   class="profile_select_139 profile_select_normal select_companyMonthStart">
                                            <div style="display: none;"
                                                 class="box_companyMonthStart boxUpDown boxUpDown_139 dn">
                                                <ul>
                                                    <li>01</li>
                                                    <li>02</li>
                                                    <li>03</li>
                                                    <li>04</li>
                                                    <li>05</li>
                                                    <li>06</li>
                                                    <li>07</li>
                                                    <li>08</li>
                                                    <li>09</li>
                                                    <li>10</li>
                                                    <li>11</li>
                                                    <li>12</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                    <td valign="top">
                                        <span class="redstar">*</span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="companyYearEnd" value="" name="companyYearEnd">
                                            <input type="button" value="结束年份"
                                                   class="profile_select_139 profile_select_normal select_companyYearEnd">
                                            <div class="box_companyYearEnd  boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>至今</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="companyMonthEnd" value=""
                                                   name="companyMonthEnd">
                                            <input type="button" value="结束月份"
                                                   class="profile_select_139 profile_select_normal select_companyMonthEnd">
                                            <div style="display: none;"
                                                 class="box_companyMonthEnd boxUpDown boxUpDown_139 dn">
                                                <ul>
                                                    <li>01</li>
                                                    <li>02</li>
                                                    <li>03</li>
                                                    <li>04</li>
                                                    <li>05</li>
                                                    <li>06</li>
                                                    <li>07</li>
                                                    <li>08</li>
                                                    <li>09</li>
                                                    <li>10</li>
                                                    <li>11</li>
                                                    <li>12</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td colspan="3">
                                        <input type="submit" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <input type="hidden" class="expId" value="">
                        </form>
                        &lt;!&ndash;end .experienceForm&ndash;&gt;

                        <ul class="wlist clearfix">
                        </ul>
                    </div>-->
                    <div class="showOldJob " id="showOldJob" th:if="${session.jianli!=null && session.jianli.oldCompany!=null&&session.jianli.oldCompany!=''}" style="padding-left: 20px;font-size: 16px;">
                        <span>[[${session.jianli.oldCompany}]] |  [[${session.jianli.oldPosition}]]<br>
                              [[${session.jianli.oldJobStartYear}]]年[[${session.jianli.oldJobStartMonth}]]月 ～ [[${session.jianli.oldJobEndYear}]]年[[${session.jianli.oldJobEndMonth}]]月<br>
            			</span>
                    </div>
                    <!--展示框 end-->

                    <!--编辑框-->
                    <div id="editOldJob" class="experienceEdit dn">
                        <form class="experienceForm" method="post" action="/saveResumeOldJob">
                            <!--简历ID-->
                            <input type="hidden" name="resumeId" th:if="${session.jianli!=null}" th:value="${session.jianli.id}">
                            <!--用户ID-->
                            <input type="hidden" name="userId" th:if="${session.user!=null}" th:value="${session.user.id}">
                            <table>
                                <tbody>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="公司名称" name="oldCompany" id="oldCompany" class="oldCompany"
                                        th:if="${session.jianli==null || session.jianli.oldCompany==null}" value="">
                                        <input type="text" placeholder="公司名称" name="oldCompany" id="oldCompany" class="oldCompany"
                                               th:if="${session.jianli!=null && session.jianli.oldCompany!=null}"
                                               th:value="${session.jianli.oldCompany}">
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="职位名称，如：产品经理" name="oldPosition"
                                               class="oldPosition" id="oldPosition" value=""
                                               th:if="${session.jianli==null|| session.jianli.oldPosition==null}">
                                        <input type="text" placeholder="职位名称，如：产品经理" name="oldPosition"
                                               class="oldPosition" id="oldPosition" th:value="${session.jianli.oldPosition}"
                                               th:if="${session.jianli!=null && session.jianli.oldPosition!=null}">
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="companyYearStart" name="companyYearStart" id="oldJobStartYear"
                                                   th:if="${session.jianli==null || session.jianli.oldJobStartYear==null}"
                                                   value="" >
                                            <input type="hidden" class="companyYearStart" name="companyYearStart" id="oldJobStartYear"
                                                   th:if="${session.jianli!=null && session.jianli.oldJobStartYear!=null}"
                                                   th:value="${session.jianli.oldJobStartYear}" >
                                            <input type="button" value="开始年份" th:if="${session.jianli==null ||session.jianli.oldJobStartYear==null}"
                                                   class="profile_select_139 profile_select_normal select_companyYearStart">
                                            <input type="button" th:value="${session.jianli.oldJobStartYear}" th:if="${session.jianli!=null &&session.jianli.oldJobStartYear!=null}"
                                                   class="profile_select_139 profile_select_normal select_companyYearStart">
                                            <div class="box_companyYearStart boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="companyMonthStart" name="companyMonthStart" id="oldJobStartMonth"
                                                   th:if="${session.jianli==null||session.jianli.oldJobStartMonth==null}"
                                                   value="">
                                            <input type="hidden" class="companyMonthStart" name="companyMonthStart" id="oldJobStartMonth"
                                                   th:if="${session.jianli!=null&&session.jianli.oldJobStartMonth!=null}"
                                                   th:value="${session.jianli.oldJobStartMonth}">

                                            <input type="button" value="开始月份" th:if="${session.jianli==null || session.jianli.oldJobStartMonth==null}"
                                                   class="profile_select_139 profile_select_normal select_companyMonthStart">
                                            <input type="button" th:value="${session.jianli.oldJobStartMonth}" th:if="${session.jianli!=null && session.jianli.oldJobStartMonth!=null}"
                                                   class="profile_select_139 profile_select_normal select_companyMonthStart">
                                            <div style="display: none;"
                                                 class="box_companyMonthStart boxUpDown boxUpDown_139 dn">
                                                <ul>
                                                    <li>01</li>
                                                    <li>02</li>
                                                    <li>03</li>
                                                    <li>04</li>
                                                    <li>05</li>
                                                    <li>06</li>
                                                    <li>07</li>
                                                    <li>08</li>
                                                    <li>09</li>
                                                    <li>10</li>
                                                    <li>11</li>
                                                    <li>12</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="companyYearEnd" name="companyYearEnd" id="oldJobEndYear"
                                                   th:if="${session.jianli==null || session.jianli.oldJobEndYear==null}"
                                                   value="">
                                            <input type="hidden" class="companyYearEnd" name="companyYearEnd" id="oldJobEndYear"
                                                   th:if="${session.jianli!=null && session.jianli.oldJobEndYear!=null}"
                                                   th:value="${session.jianli.oldJobEndYear}">
                                            <input type="button" value="结束年份" th:if="${session.jianli==null || session.jianli.oldJobEndYear==null}"
                                                   class="profile_select_139 profile_select_normal select_companyYearEnd">
                                            <input type="button" th:value="${session.jianli.oldJobEndYear}" th:if="${session.jianli!=null && session.jianli.oldJobEndYear!=null}"
                                                   class="profile_select_139 profile_select_normal select_companyYearEnd">
                                            <div class="box_companyYearEnd  boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="companyMonthEnd" name="companyMonthEnd" id="oldJobEndMonth"
                                                   th:if="${session.jianli==null || session.jianli.oldJobEndMonth==null}"
                                                   value="">
                                            <input type="hidden" class="companyMonthEnd" name="companyMonthEnd" id="oldJobEndMonth"
                                                   th:if="${session.jianli!=null && session.jianli.oldJobEndMonth!=null}"
                                                   th:value="${session.jianli.oldJobEndMonth}">

                                            <input type="button" value="结束月份" th:if="${session.jianli==null || session.jianli.oldJobEndMonth==null}"
                                                   class="profile_select_139 profile_select_normal select_companyMonthEnd">
                                            <input type="button" th:value="${session.jianli.oldJobEndMonth}" th:if="${session.jianli!=null && session.jianli.oldJobEndMonth!=null}"
                                                   class="profile_select_139 profile_select_normal select_companyMonthEnd">
                                            <div style="display: none;"
                                                 class="box_companyMonthEnd boxUpDown boxUpDown_139 dn">
                                                <ul>
                                                    <li>01</li>
                                                    <li>02</li>
                                                    <li>03</li>
                                                    <li>04</li>
                                                    <li>05</li>
                                                    <li>06</li>
                                                    <li>07</li>
                                                    <li>08</li>
                                                    <li>09</li>
                                                    <li>10</li>
                                                    <li>11</li>
                                                    <li>12</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td colspan="3">
                                        <input type="submit" id="hidden_Submit_OldJob" value="保 存" class="btn_profile_save" hidden>
                                        <input type="button" id="bc_OldJob" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="qx_OldJob" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <input type="hidden" class="expId" value="">
                        </form>
                        <!--end .experienceForm-->
                    </div>
                    <!--编辑框 end-->

                    <!--提示添加框-->
                    <div id="addOldJob" class="experienceAdd pAdd" th:if="${session.jianli==null || session.jianli.oldCompany==null ||session.jianli.oldCompany==''}">
                        工作经历最能体现自己的工作能力，<br> 且完善后才可投递简历哦！
                        <span>添加工作经历</span>
                    </div>
                    <!--提示添加框 end-->
                    <script>
                        //点击添加
                        $("#addOldJob").click(function () {
                            $("#showOldJob").attr("style","display:none");
                            $("#addOldJob").attr("style","display:none");
                            $("#editOldJob").attr("style","display:block");
                        });
                        //点击取消
                        $("#qx_OldJob").click(function () {
                            $("#showOldJob").attr("style","display:block");
                            $("#addOldJob").attr("style","display:block");
                            $("#editOldJob").attr("style","display:none");
                        });
                        //点击保存
                        $("#bc_OldJob").click(function () {
                            //获取简历ID
                            var resumeId=$("#resumeId").val().trim();
                            if(resumeId==""||resumeId==null){
                                layer.alert("请先完善个人基本信息！",{icon:4});
                                return false;
                            }
                            //获取当前登陆人ID
                            var userId=$("#userId").val().trim();
                            //获取公司名
                            var oldCompany=$("#oldCompany").val().trim();
                            //获取原来职位
                            var oldPosition=$("#oldPosition").val().trim();
                            //获取开始年份
                            var oldJobStartYear=$("#oldJobStartYear").val().trim();
                            //获取开始月份
                            var oldJobStartMonth=$("#oldJobStartMonth").val().trim();
                            //获结束始年份
                            var oldJobEndYear=$("#oldJobEndYear").val().trim();
                            //获取结束月份
                            var oldJobEndMonth=$("#oldJobEndMonth").val().trim();

                            // console.log("userId:"+userId);
                            // console.log("oldCopany:"+oldCompany);
                            // console.log("oldPosition:"+oldPosition);
                            // console.log("oldJobStartYear:"+oldJobStartYear);
                            // console.log("oldJobStartMonth:"+oldJobStartMonth);
                            // console.log("oldJobEndYear:"+oldJobEndYear);
                            // console.log("oldJobEndMonth:"+oldJobEndMonth);
                            if(oldCompany==null ||oldCompany==""){layer.msg("请输入公司名称");return false;}
                            if(oldPosition==null ||oldPosition==""){layer.msg("请输入职位");return false;}
                            if(oldJobStartYear==null ||oldJobStartYear==""){layer.msg("请选择开始年份");return false;}
                            if(oldJobStartMonth==null ||oldJobStartMonth==""){layer.msg("请选择开始月份");return false;}
                            if(oldJobEndYear==null ||oldJobEndYear==""){layer.msg("请选择结束年份");return false;}
                            if(parseInt(oldJobStartYear)>parseInt(oldJobEndYear)){layer.msg("请选择正确的时间范围");return false;}
                            if(oldJobEndMonth==null ||oldJobEndMonth==""){layer.msg("请选择结束月份");return false;}
                            if(parseInt(oldJobStartYear)==parseInt(oldJobEndYear)){if(parseInt(oldJobStartMonth)>parseInt(oldJobEndMonth)){layer.msg("请选择正确的时间范围");return false;}}
                            //数据校验成功
                            $("#hidden_Submit_OldJob").click();
                            $("#qx_OldJob").click();

                        });
                        //点击展示框
                        $("#showOldJob").click(function () {
                            $("#showOldJob").attr("style","display:none");
                            $("#addOldJob").attr("style","display:none");
                            $("#editOldJob").attr("style","display:block");
                        });

                    </script>
                </div>
                <!--工作经历 end-->

				<!--项目经验-->
                <div class="profile_box" id="projectExperience">
                    <h2>项目经验</h2>
                    <!--展示框-->
                    <div id="showProject" th:if="${session.jianli!=null && session.jianli.projectName!=null && session.jianli.projectName!=''}" class="showProject "style="padding-left: 20px;font-size: 16px;">
                        <span>[[${session.jianli.projectName}]] |  [[${session.jianli.role}]]<br>
                              [[${session.jianli.pojStartYear}]]年[[${session.jianli.pojStartMonth}]]月 ～ [[${session.jianli.pojEndYear}]]年[[${session.jianli.pojEndMonth}]]月<br>
            			</span>
                    </div>
                    <!--展示框 end-->

                    <!--编辑框-->
                    <div id="editProject" class="projectEdit dn">
                        <form class="projectForm" method="post" action="/saveResumeProject">
                            <!--简历ID-->
                            <input type="hidden" name="resumeId" th:if="${session.jianli!=null}" th:value="${session.jianli.id}">
                            <!--用户ID-->
                            <input type="hidden" name="userId" th:if="${session.user!=null}" th:value="${session.user.id}">
                            <table>
                                <tbody>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"*</span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="项目名称" name="pojName" class="projectName" id="projectName"
                                        th:if="${session.jianli==null ||session.jianli.projectName==null ||session.jianli.projectName==''}"
                                        value="">
                                        <input type="text" placeholder="项目名称" name="pojName" class="projectName" id="projectName"
                                               th:if="${session.jianli!=null && session.jianli.projectName!=null && session.jianli.projectName!=''}"
                                               th:value="${session.jianli.projectName}">
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="担任职务，如：产品负责人" name="role" class="thePost" id="role"
                                        th:if="${session.jianli==null || session.jianli.role==null ||session.jianli.role==''}"
                                        value="">
                                        <input type="text"  name="role" class="thePost" id="role"
                                               th:if="${session.jianli!=null && session.jianli.role!=null && session.jianli.role!=''}"
                                               th:value="${session.jianli.role}">
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="projectYearStart" name="projectYearStart" id="pojStartYear"
                                                   th:if="${session.jianli==null || session.jianli.pojStartYear==null || session.jianli.pojStartYear==''}"
                                                   value="">
                                            <input type="hidden" class="projectYearStart" name="projectYearStart" id="pojStartYear"
                                                   th:if="${session.jianli!=null && session.jianli.pojStartYear!=null && session.jianli.pojStartYear!=''}"
                                                   th:value="${session.jianli.pojStartYear}">

                                            <input type="button" value="开始年份" th:if="${session.jianli==null || session.jianli.pojStartYear==null || session.jianli.pojStartYear==''}"
                                                   class="profile_select_139 profile_select_normal select_projectYearStart">
                                            <input type="button" th:value="${session.jianli.pojStartYear}" th:if="${session.jianli!=null && session.jianli.pojStartYear!=null && session.jianli.pojStartYear!=''}"
                                                   class="profile_select_139 profile_select_normal select_projectYearStart">
                                            <div class="box_projectYearStart  boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="projectMonthStart" value="" id="pojStartMonth"
                                                   name="projectMonthStart" th:if="${session.jianli==null || session.jianli.pojStartMonth==null || session.jianli.pojStartMonth==''}">
                                            <input type="hidden" class="projectMonthStart" id="pojStartMonth" th:value="${session.jianli.pojStartMonth}"
                                                   name="projectMonthStart" th:if="${session.jianli!=null && session.jianli.pojStartMonth!=null && session.jianli.pojStartMonth!=''}">

                                            <input type="button" value="开始月份" th:if="${session.jianli==null || session.jianli.pojStartMonth==null || session.jianli.pojStartMonth==''}"
                                                   class="profile_select_139 profile_select_normal select_projectMonthStart">

                                            <input type="button" th:if="${session.jianli!=null && session.jianli.pojStartMonth!=null && session.jianli.pojStartMonth!=''}"
                                                   th:value="${session.jianli.pojStartMonth}"
                                                   class="profile_select_139 profile_select_normal select_projectMonthStart">
                                            <div style="display: none;"
                                                 class="box_projectMonthStart boxUpDown boxUpDown_139 dn">
                                                <ul>
                                                    <li>01</li>
                                                    <li>02</li>
                                                    <li>03</li>
                                                    <li>04</li>
                                                    <li>05</li>
                                                    <li>06</li>
                                                    <li>07</li>
                                                    <li>08</li>
                                                    <li>09</li>
                                                    <li>10</li>
                                                    <li>11</li>
                                                    <li>12</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="projectYearEnd" value="" name="projectYearEnd" id="pojEndYear"
                                                   th:if="${session.jianli==null || session.jianli.pojEndYear==null || session.jianli.pojEndYear==''}">
                                            <input type="hidden" class="projectYearEnd" name="projectYearEnd" id="pojEndYear"
                                                   th:if="${session.jianli!=null && session.jianli.pojEndYear!=null && session.jianli.pojEndYear!=''}"
                                                   th:value="${session.jianli.pojEndYear}">

                                            <input type="button" value="结束年份" th:if="${session.jianli==null || session.jianli.pojEndYear==null || session.jianli.pojEndYear==''}"
                                                   class="profile_select_139 profile_select_normal select_projectYearEnd">
                                            <input type="button" th:value="${session.jianli.pojEndYear}" th:if="${session.jianli!=null && session.jianli.pojEndYear!=null && session.jianli.pojEndYear!=''}"
                                                   class="profile_select_139 profile_select_normal select_projectYearEnd">
                                            <div class="box_projectYearEnd  boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="projectMonthEnd" value="" name="projectMonthEnd" id="pojEndMonth"
                                                   th:if="${session.jianli==null ||session.jianli.pojEndMonth==null || session.jianli.pojEndMonth==''}">
                                            <input type="hidden" class="projectMonthEnd" name="projectMonthEnd" id="pojEndMonth"
                                                   th:value="${session.jianli.pojEndMonth}"
                                                   th:if="${session.jianli!=null &&session.jianli.pojEndMonth!=null && session.jianli.pojEndMonth!=''}">

                                            <input type="button" value="结束月份" th:if="${session.jianli==null ||session.jianli.pojEndMonth==null || session.jianli.pojEndMonth==''}"
                                                   class="profile_select_139 profile_select_normal select_projectMonthEnd">
                                            <input type="button" th:value="${session.jianli.pojEndMonth}" th:if="${session.jianli!=null &&session.jianli.pojEndMonth!=null && session.jianli.pojEndMonth!=''}"
                                                   class="profile_select_139 profile_select_normal select_projectMonthEnd">
                                            <div style="display: none;"
                                                 class="box_projectMonthEnd boxUpDown boxUpDown_139 dn">
                                                <ul>
                                                    <li>01</li>
                                                    <li>02</li>
                                                    <li>03</li>
                                                    <li>04</li>
                                                    <li>05</li>
                                                    <li>06</li>
                                                    <li>07</li>
                                                    <li>08</li>
                                                    <li>09</li>
                                                    <li>10</li>
                                                    <li>11</li>
                                                    <li>12</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top"></td>
                                    <td colspan="3">
                                        <textarea class="projectDescription s_textarea" name="pojDescription" placeholder="项目描述" id="pojDescribe"
                                                  th:if="${session.jianli==null || session.jianli.pojDescribe==null || session.jianli.pojDescribe==''}"></textarea>
                                        <textarea class="projectDescription s_textarea" name="pojDescription" id="pojDescribe"
                                                  th:value="${session.jianli.pojDescribe}" th:text="${session.jianli.pojDescribe}"
                                                  th:if="${session.jianli!=null && session.jianli.pojDescribe!=null && session.jianli.pojDescribe!=''}"></textarea>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top"></td>
                                    <td colspan="3">
                                        <input type="submit" id="hidden_Submit_Project" value="保 存" class="btn_profile_save" hidden>
                                        <input type="button" id="bc_Project" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="qx_Project" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                        <!--end .projectForm-->
                    </div>
                    <!--编辑框 end-->

                    <!--提示添加-->
                    <div id="addProject" th:if="${session.jianli==null || session.jianli.projectName==null || session.jianli.projectName==''}" class="projectAdd pAdd">
                        项目经验是用人单位衡量人才能力的重要指标哦！<br> 来说说让你认为最好的项目吧！
                        <span>添加项目经验</span>
                    </div>
                    <!--提示添加 end-->
                    <script>
                        //点击提示
                        $("#addProject").click(function () {
                            $("#showProject").attr("style","display:none");
                            $("#addProject").attr("style","display:none");
                            $("#editProject").attr("style","display:block");
                        });
                        //点击取消按钮
                        $("#qx_Project").click(function () {
                            $("#showProject").attr("style","display:block");
                            $("#addProject").attr("style","display:block");
                            $("#editProject").attr("style","display:none");
                        });
                        //点击保存按钮
                        $("#bc_Project").click(function () {
                            //获取简历ID
                            var resumeId=$("#resumeId").val().trim();
                            if(resumeId==""||resumeId==null){
                                layer.alert("请先完善个人基本信息！",{icon:4});
                                return false;
                            }
                            //获取当前登陆人ID
                            var userId=$("#userId").val().trim();
                            //获取项目名称
                            var projectName=$("#projectName").val().trim();
                            //获取担任职务
                            var role=$("#role").val().trim();
                            //获取开始年份
                            var pojStartYear=$("#pojStartYear").val().trim();
                            //获取开始月份
                            var pojStartMonth=$("#pojStartMonth").val().trim();
                            //获取结束年份
                            var pojEndYear=$("#pojEndYear").val().trim();
                            //获取结束月份
                            var pojEndMonth=$("#pojEndMonth").val().trim();
                            //获取项目描述
                            var pojDescribe=$("#pojDescribe").val().trim();
                            // console.log("projectName:"+projectName);
                            // console.log("role:"+role);
                            // console.log("pojStartYear:"+pojStartYear);
                            // console.log("pojStartMonth:"+pojStartMonth);
                            // console.log("pojEndYear:"+pojEndYear);
                            // console.log("pojEndMonth:"+pojEndMonth);
                            // console.log("pojDescribe:"+pojDescribe);
                            if(projectName==""||projectName==null){layer.msg("请输入项目名称");return false;}
                            if(role==""||role==null){layer.msg("请输入在项目开发中担任的职务");return false;}
                            if(pojStartYear==""||pojStartYear==null){layer.msg("请输入项目开始年份");return false;}
                            if(pojStartMonth==""||pojStartMonth==null){layer.msg("请输入项目开始月份");return false;}
                            if(pojEndYear==""||pojEndYear==null){layer.msg("请输入项目结束年份");return false;}
                            if(parseInt(pojStartYear)>parseInt(pojEndYear)){layer.msg("请选择正确的时间范围");return false;}
                            if(pojEndMonth==""||pojEndMonth==null){layer.msg("请输入项目结束月份");return false;}
                            if(parseInt(pojStartYear)==parseInt(pojEndYear)){if(parseInt(pojStartMonth)>parseInt(pojEndMonth)){layer.msg("请选择正确的时间范围");return false;}}
                            if(pojDescribe==""||pojDescribe==null){layer.msg("请输入项目介绍");return false;}
                            //数据校验通过，点击submit按钮
                            $("#hidden_Submit_Project").click();
                            //点击取消
                            $("#qx_Project").click();
                        });
                        //点击展示框，编辑
                        $("#showProject").click(function () {
                            $("#showProject").attr("style","display:none");
                            $("#addProject").attr("style","display:none");
                            $("#editProject").attr("style","display:block");
                        });

                    </script>
                </div>
                <!--项目经验 end-->

				<!--教育背景-->
                <div class="profile_box" id="educationalBackground">
                    <h2>教育背景<span></span></h2>
                    <!--展示框-->
                    <div id="showSchool" th:if="${session.jianli!=null && session.jianli.school!=null && session.jianli.school!=''}" class="showSchool "style="padding-left: 20px;font-size: 16px;">
                        <span>[[${session.jianli.school}]] |  [[${session.jianli.education}]]  ｜  [[${session.jianli.studyStartYear}]]年 ～ [[${session.jianli.studyEndYear}]]年<br>
                              [[${session.jianli.majorName}]] <br>
            			</span>
                    </div>
                    <!--展示框 end-->
                    <!--编辑框-->
                    <div id="editSchool" class="educationalEdit dn">
                        <form class="educationalForm" method="post" action="/saveResumeSchool">
                            <!--简历ID-->
                            <input type="hidden" name="resumeId" th:if="${session.jianli!=null}" th:value="${session.jianli.id}">
                            <!--用户ID-->
                            <input type="hidden" name="userId" th:if="${session.user!=null}" th:value="${session.user.id}">
                            <table>
                                <tbody>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="学校名称" name="school" class="school" id="school" value=""
                                               th:if="${session.jianli==null || session.jianli.school==null || session.jianli.school == ''}">
                                        <input type="text" placeholder="学校名称" name="school" class="school" id="school"
                                               th:if="${session.jianli!=null && session.jianli.school!=null && session.jianli.school != ''}"
                                               th:value="${session.jianli.school}">
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="hidden" class="degree" value="" name="degree" id="education"
                                        th:if="${session.jianli==null ||session.jianli.education==null || session.jianli.education==''}">
                                        <input type="hidden" class="degree" name="degree" id="education"
                                               th:value="${session.jianli.education}"
                                               th:if="${session.jianli!=null &&session.jianli.education!=null && session.jianli.education!=''}">

                                        <input type="button" value="学历" th:if="${session.jianli==null ||session.jianli.education==null || session.jianli.education==''}"
                                               class="profile_select_287 profile_select_normal select_degree">
                                        <input type="button" th:if="${session.jianli!=null &&session.jianli.education!=null && session.jianli.education!=''}"
                                               th:value="${session.jianli.education}"
                                               class="profile_select_287 profile_select_normal select_degree">
                                        <div class="box_degree boxUpDown boxUpDown_287 dn" style="display: none;">
                                            <ul>
                                                <li>大专</li>
                                                <li>本科</li>
                                                <li>硕士</li>
                                                <li>博士</li>
                                                <li>其他</li>
                                            </ul>
                                        </div>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <input type="text" placeholder="专业名称" name="majorName" id="majorName" class="majorName"
                                        th:if="${session.jianli==null || session.jianli.majorName==null || session.jianli.majorName==''}">
                                        <input type="text" name="majorName" id="majorName" class="majorName"
                                               th:value="${session.jianli.majorName}"
                                               th:if="${session.jianli!=null && session.jianli.majorName!=null && session.jianli.majorName!=''}">
                                    </td>
                                    <td valign="top">
                                        <span class="redstar"></span>
                                    </td>
                                    <td>
                                        <div class="fl">
                                            <input type="hidden" class="schoolYearStart" value="" name="studyStartYear" id="studyStartYear"
                                                   th:if="${session.jianli==null || session.jianli.studyStartYear==null || session.jianli.studyStartYear==''}">
                                            <input type="hidden" class="schoolYearStart" name="studyStartYear" id="studyStartYear"
                                                   th:value="${session.jianli.studyStartYear}"
                                                   th:if="${session.jianli!=null && session.jianli.studyStartYear!=null && session.jianli.studyStartYear!=''}">

                                            <input type="button" value="开始年份" class="profile_select_139 profile_select_normal select_schoolYearStart"
                                                   th:if="${session.jianli==null || session.jianli.studyStartYear==null || session.jianli.studyStartYear==''}">
                                            <input type="button"  class="profile_select_139 profile_select_normal select_schoolYearStart"
                                                   th:value="${session.jianli.studyStartYear}"
                                                   th:if="${session.jianli!=null && session.jianli.studyStartYear!=null && session.jianli.studyStartYear!=''}">
                                            <div class="box_schoolYearStart boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="fl">
                                            <input type="hidden" class="schoolYearEnd" value="" name="schoolYearEnd" id="studyEndYear"
                                                   th:if="${session.jianli==null || session.jianli.studyEndYear==null || session.jianli.studyEndYear==''}">
                                            <input type="hidden" class="schoolYearEnd" value="" name="schoolYearEnd" id="studyEndYear"
                                                   th:value="${session.jianli.studyEndYear}"
                                                   th:if="${session.jianli!=null && session.jianli.studyEndYear!=null && session.jianli.studyEndYear!=''}">

                                            <input type="button" value="结束年份" class="profile_select_139 profile_select_normal select_schoolYearEnd"
                                                   th:if="${session.jianli==null || session.jianli.studyEndYear==null || session.jianli.studyEndYear==''}">
                                            <input type="button" class="profile_select_139 profile_select_normal select_schoolYearEnd"
                                                   th:value="${session.jianli.studyEndYear}"
                                                   th:if="${session.jianli!=null && session.jianli.studyEndYear!=null && session.jianli.studyEndYear!=''}">
                                            <div class="box_schoolYearEnd  boxUpDown boxUpDown_139 dn"
                                                 style="display: none;">
                                                <ul>
                                                    <li>2020</li>
                                                    <li>2019</li>
                                                    <li>2018</li>
                                                    <li>2017</li>
                                                    <li>2016</li>
                                                    <li>2015</li>
                                                    <li>2014</li>
                                                    <li>2013</li>
                                                    <li>2012</li>
                                                    <li>2011</li>
                                                    <li>2010</li>
                                                    <li>2009</li>
                                                    <li>2008</li>
                                                    <li>2007</li>
                                                    <li>2006</li>
                                                    <li>2005</li>
                                                    <li>2004</li>
                                                    <li>2003</li>
                                                    <li>2002</li>
                                                    <li>2001</li>
                                                    <li>2000</li>
                                                    <li>1999</li>
                                                    <li>1998</li>
                                                    <li>1997</li>
                                                    <li>1996</li>
                                                    <li>1995</li>
                                                    <li>1994</li>
                                                    <li>1993</li>
                                                    <li>1992</li>
                                                    <li>1991</li>
                                                    <li>1990</li>
                                                    <li>1989</li>
                                                    <li>1988</li>
                                                    <li>1987</li>
                                                    <li>1986</li>
                                                    <li>1985</li>
                                                    <li>1984</li>
                                                    <li>1983</li>
                                                    <li>1982</li>
                                                    <li>1981</li>
                                                    <li>1980</li>
                                                    <li>1979</li>
                                                    <li>1978</li>
                                                    <li>1977</li>
                                                    <li>1976</li>
                                                    <li>1975</li>
                                                    <li>1974</li>
                                                    <li>1973</li>
                                                    <li>1972</li>
                                                    <li>1971</li>
                                                    <li>1970</li>
                                                </ul>
                                            </div>
                                        </div>
                                        <div class="clear"></div>
                                    </td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td colspan="3">
                                        <input type="submit" id="hidden_submit_School" value="保 存" class="btn_profile_save" hidden>
                                        <input type="button" id="bc_School" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="qx_School" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <input type="hidden" class="eduId" value="">
                        </form>
                        <!--end .educationalForm-->
                    </div>
                    <!--编辑框 end-->
                    <!--提示添加框-->
                    <div id="addSchool" class="educationalAdd pAdd" th:if="${session.jianli==null || session.jianli.school==null || session.jianli.school==''}">
                        教育背景可以充分体现你的学习和专业能力，<br>只需要填写最高学历即可哦！
                        <span>添加教育经历</span>
                    </div>
                    <!--提示添加框 end-->
                    <script>
                        //点击提示
                        $("#addSchool").click(function () {
                            $("#showSchool").attr("style","display:none");
                            $("#addSchool").attr("style","display:none");
                            $("#editSchool").attr("style","display:block");
                        });
                        //点击取消按钮
                        $("#qx_School").click(function () {
                            $("#showSchool").attr("style","display:block");
                            $("#addSchool").attr("style","display:block");
                            $("#editSchool").attr("style","display:none");
                        });
                        //点击保存按钮
                        $("#bc_School").click(function () {
                            //获取简历ID
                            var resumeId=$("#resumeId").val().trim();
                            if(resumeId==""||resumeId==null){
                                layer.alert("请先完善个人基本信息！",{icon:4});
                                return false;
                            }
                            //获取当前登陆人ID
                            var userId=$("#userId").val().trim();
                            //获取学校名称
                            var school=$("#school").val().trim();
                            //获取学历
                            var education=$("#education").val().trim();
                            //获取专业
                            var majorName=$("#majorName").val().trim();
                            //获取开始年份
                            var studyStartYear=$("#studyStartYear").val().trim();
                            //获取结束年份
                            var studyEndYear=$("#studyEndYear").val().trim();

                            // console.log("userId:"+userId);
                            // console.log("school:"+school);
                            // console.log("education:"+education);
                            // console.log("majorName:"+majorName);
                            // console.log("studyStartYear:"+studyStartYear);
                            // console.log("studyEndYear:"+studyEndYear);
                            if(school==""||school==null){layer.msg("请输入学校名称");return false;}
                            if(education==""||education==null){layer.msg("请输入学历");return false;}
                            if(majorName==""||majorName==null){layer.msg("请输入专业名称");return false;}
                            if(studyStartYear==""||studyStartYear==null){layer.msg("请输入开始年份");return false;}
                            if(studyEndYear==""||studyEndYear==null){layer.msg("请输入结束年份");return false;}
                            if(parseInt(studyEndYear)<parseInt(studyStartYear)){layer.msg("请输入正确的时间范围");return false;}

                            $("#hidden_submit_School").click();
                            $("#qx_School").click();
                        });
                        //点击展示框，编辑
                        $("#showSchool").click(function () {
                            $("#showSchool").attr("style","display:none");
                            $("#addSchool").attr("style","display:none");
                            $("#editSchool").attr("style","display:block");
                        });
                    </script>
                </div>
                <!--教育背景 end-->

				<!--自我描述-->
                <div class="profile_box" id="selfDescription">
                    <h2>自我描述</h2>
                    <!--展示框-->
                    <div id="showMyself" th:if="${session.jianli!=null && session.jianli.autognosis!=null && session.jianli.autognosis!=''}" class="showMyself "style="padding-left: 20px;font-size: 16px;">
                        <span>[[${session.jianli.autognosis}]]<br>
            			</span>
                    </div>
                    <!--展示框 end-->
                    <!--编辑框-->
                    <div id="editMyself" class="descriptionEdit dn">
                        <form class="descriptionForm" method="post" action="/saveResumeMyself">
                            <!--简历ID-->
                            <input type="hidden" name="resumeId" th:if="${session.jianli!=null}" th:value="${session.jianli.id}">
                            <!--用户ID-->
                            <input type="hidden" name="userId" th:if="${session.user!=null}" th:value="${session.user.id}">
                            <table>
                                <tbody>
                                <tr>
                                    <td colspan="2">
                                        <textarea class="selfDescription s_textarea" name="autognosis" placeholder="自我评价" id="autognosis"
                                        th:if="${session.jianli==null || session.jianli.autognosis==null || session.jianli.autognosis==''}"></textarea>
                                        <textarea class="selfDescription s_textarea" name="autognosis"
                                                  th:value="${session.jianli.autognosis}" th:text="${session.jianli.autognosis}" id="autognosis"
                                                  th:if="${session.jianli!=null && session.jianli.autognosis!=null && session.jianli.autognosis!=''}"></textarea>
                                    </td>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <input type="submit" id="hidden_submit_Myself" value="保 存" class="btn_profile_save" hidden>
                                        <input type="button" id="bc_Myself" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="qx_Myself" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                        </form>
                        <!--end .descriptionForm-->
                    </div>
                    <!--编辑框 end-->

                    <!--提示添加描述-->
                    <div id="addMyself" th:if="${session.jianli==null || session.jianli.autognosis==null || session.jianli.autognosis==''}" class="descriptionAdd pAdd">
                        描述你的性格、爱好以及吸引人的经历等，<br> 让企业了解多元化的你！
                        <span>添加自我描述</span>
                    </div>
                    <!--提示添加描述 end-->
                    <script>
                        //点击提示添加
                        $("#addMyself").click(function () {
                            $("#showMyself").attr("style","display:none");
                            $("#addMyself").attr("style","display:none");
                            $("#editMyself").attr("style","display:block");
                        });
                        //点击取消按钮
                        $("#qx_Myself").click(function () {
                            $("#showMyself").attr("style","display:block");
                            $("#addMyself").attr("style","display:block");
                            $("#editMyself").attr("style","display:none");
                        });
                        //点击保存按钮
                        $("#bc_Myself").click(function () {
                            //获取简历ID
                            var resumeId=$("#resumeId").val().trim();
                            if(resumeId==""||resumeId==null){
                                layer.alert("请先完善个人基本信息！",{icon:4});
                                return false;
                            }
                            //获取当前登陆人ID
                            var userId=$("#userId").val().trim();
                            //获取自我介绍
                            var autognosis=$("#autognosis").val().trim();
                            // console.log("autognosis:"+autognosis);
                            if(autognosis==null ||autognosis==""){layer.msg("请输入自我介绍内容");return false;}
                            if(autognosis.length>=500){layer.msg("自我介绍内容限制在500字以内");return false;}

                            $("#hidden_submit_Myself").click();
                            $("#qx_Myself").click();
                        });
                        //点击展示框 编辑
                        $("#showMyself").click(function () {
                            $("#showMyself").attr("style","display:none");
                            $("#addMyself").attr("style","display:none");
                            $("#editMyself").attr("style","display:block");
                        });
                    </script>
                </div>
                <!--自我描述 end -->

				<!--作品展示-->
                <div class="profile_box" id="worksShow">
                    <h2>作品展示</h2>
                    <!--展示框-->
                    <div id="showWork" th:if="${session.jianli!=null && session.jianli.worksDescribe!=null && session.jianli.worksDescribe!=''}" class="showWork "style="padding-left: 20px;font-size: 16px;">
                        <span>[[${session.jianli.worksUrl}]]<br>
                            [[${session.jianli.worksDescribe}]]<br>
            			</span>
                    </div>
                    <!--展示框 end-->

                    <!--编辑框-->
                    <div id="editWork" class="workEdit dn">
                        <form class="workForm" method="post" action="/saveResumeWork">
                            <!--简历ID-->
                            <input type="hidden" name="resumeId" th:if="${session.jianli!=null}" th:value="${session.jianli.id}">
                            <!--用户ID-->
                            <input type="hidden" name="userId" th:if="${session.user!=null}" th:value="${session.user.id}">
                            <table>
                                <tbody>
                                <tr>
                                    <td>
                                        <input type="text" placeholder="请输入作品链接" name="worksUrl" class="worksUrl" id="worksUrl"
                                        th:if="${session.jianli==null || session.jianli.worksUrl==null || session.jianli.worksUrl==''}">
                                        <input type="text" placeholder="请输入作品链接" name="worksUrl" class="worksUrl" id="worksUrl"
                                               th:value="${session.jianli.worksUrl}"
                                               th:if="${session.jianli!=null && session.jianli.worksUrl!=null && session.jianli.worksUrl!=''}">
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <textarea class="workDescription s_textarea" name="worksDescribe" placeholder="请输入说明文字" id="worksDescribe"
                                        th:if="${session.jianli==null || session.jianli.worksDescribe==null || session.jianli.worksDescribe==''}"></textarea>
                                        <textarea class="workDescription s_textarea" name="worksDescribe"
                                                  th:value="${session.jianli.worksDescribe}" th:text="${session.jianli.worksDescribe}" id="worksDescribe"
                                                  th:if="${session.jianli!=null && session.jianli.worksDescribe!=null && session.jianli.worksDescribe!=''}"></textarea>
                                    </td>
                                </tr>
                                <tr>
                                    <td>
                                        <input type="submit" id="hidden_submit_Work" value="保 存" class="btn_profile_save" hidden>
                                        <input type="button" id="bc_Work" value="保 存" class="btn_profile_save">
                                        <a class="btn_profile_cancel" id="qx_Work" href="javascript:;">取 消</a>
                                    </td>
                                </tr>
                                </tbody>
                            </table>
                            <input type="hidden" class="showId" value="">
                        </form>
                        <!--end .workForm-->
                    </div>
                    <!--编辑框 end-->

                    <!--提示编辑-->
                    <div id="addWork" th:if="${session.jianli==null || session.jianli.worksDescribe==null || session.jianli.worksDescribe==''}" class="workAdd pAdd">
                        好作品会说话！<br> 快来秀出你的作品打动企业吧！
                        <span>添加作品展示</span>
                    </div>
                    <!--提示编辑 end-->
                    <script>
                        //点击提示添加
                        $("#addWork").click(function () {
                            $("#showWork").attr("style","display:none");
                            $("#addWork").attr("style","display:none");
                            $("#editWork").attr("style","display:block");
                        });
                        //点击取消按钮
                        $("#qx_Work").click(function () {
                            $("#showWork").attr("style","display:block");
                            $("#addWork").attr("style","display:block");
                            $("#editWork").attr("style","display:none");
                        });
                        //校验url是否合法的方法
                        function isURL(str_url) {// 验证url
                            var strRegex = "^((https|http|ftp|rtsp|mms)?://)"
                                + "?(([0-9a-z_!~*'().&=+$%-]+: )?[0-9a-z_!~*'().&=+$%-]+@)?" // ftp的user@
                                + "(([0-9]{1,3}\.){3}[0-9]{1,3}" // IP形式的URL- 199.194.52.184
                                + "|" // 允许IP和DOMAIN（域名）
                                + "([0-9a-z_!~*'()-]+\.)*" // 域名- www.
                                + "([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\." // 二级域名
                                + "[a-z]{2,6})" // first level domain- .com or .museum
                                + "(:[0-9]{1,4})?" // 端口- :80
                                + "((/?)|" // a slash isn't required if there is no file name
                                + "(/[0-9a-z_!~*'().;?:@&=+$,%#-]+)+/?)$";
                            var re = new RegExp(strRegex);
                            return re.test(str_url);
                        }
                        //点击保存
                        $("#bc_Work").click(function () {
                            //获取简历ID
                            var resumeId=$("#resumeId").val().trim();
                            if(resumeId==""||resumeId==null){
                                layer.alert("请先完善个人基本信息！",{icon:4});
                                return false;
                            }
                            //获取当前登陆人ID
                            var userId=$("#userId").val().trim();
                            //获取作品url
                            var worksUrl=$("#worksUrl").val().trim();
                            //获取介绍
                            var worksDescribe=$("#worksDescribe").val().trim();
                            // console.log("userId:"+userId);
                            // console.log("worksUrl:"+worksUrl);
                            // console.log("worksDescribe:"+worksDescribe);

                            if(worksUrl==null ||worksUrl==""){layer.msg("请输入作品展示网址");return false;}
                            if (!isURL(worksUrl) || worksUrl.substring(0, 7) == "http://" || worksUrl.substring(0, 8) == "https://") {
                                layer.msg("输入的网址格式不正确！");
                                return false;
                            }
                            if(worksDescribe==null || worksDescribe==""){layer.msg("请输入作品简介");return false;}
                            if(worksDescribe.length>=200){layer.msg("作品简介字数限制在200字以内");return false;}

                            $("#hidden_submit_Work").click();
                            $("#qx_Work").click();
                        });
                        //点击展示框，编辑
                        $("#showWork").click(function () {
                            $("#showWork").attr("style","display:none");
                            $("#addWork").attr("style","display:none");
                            $("#editWork").attr("style","display:block");
                        });
                    </script>
                </div>
                <!--作品展示 end-->
            </div>


			<!--        右侧栏       -->
            <div class="content_r">
				<!--我的信息-->
                <div class="mycenterR" id="myInfo">
                    <h2>我的信息</h2>
                    <a th:href="'/selectCollections?userId='+${session.user.id}">我收藏的职位</a>
                    <br>
                    <a th:href="'/myToudi?userId='+${session.user.id}">我投递的职位</a>
                </div>
                <!--我的信息 end-->

                <!--二维码-->
                <div class="greybg qrcode mt20">
                    <img width="242" height="242" alt="这只是一个二维码" src="style/images/qr_resume.png">
                    <span class="c7">微信扫一扫，轻松找工作</span>
                </div>
                <!--二维码 end-->
            </div>
        </div>

        <script src="style/js/Chart.min.js" type="text/javascript"></script>
        <script src="style/js/profile.min.js" type="text/javascript"></script>
        <!-- <div id="profileOverlay"></div> -->
        <div class="" id="qr_cloud_resume" style="display: none;">
            <div class="cloud">
                <img width="134" height="134" src="">
                <a class="close" href="javascript:;"></a>
            </div>
        </div>

        <div class="clear"></div>
        <input type="hidden" value="97fd449bcb294153a671f8fe6f4ba655" id="resubmitToken">
        <a rel="nofollow" title="回到顶部" id="backtop" style="display: none;"></a>
    </div>
    <!-- end #container -->
</div>
<!--引入页面底部备案号-->
<div th:replace="public/publicFragment::footer_nav"></div>

<script src="style/js/core.min.js" type="text/javascript"></script>
<script src="style/js/popup.min.js" type="text/javascript"></script>

</body>

</html>